#define _CRT_SECURE_NO_WARNINGS
#include "list.h"
void list_test1()
{
	ListNode* list = NULL;
	list = list_inite();
	list_push_back(list, 1);
	list_push_back(list, 2);
	list_push_back(list, 3);
	list_push_back(list, 4);
	list_print(list);

	ListNode* pos=list_find(list, 3);
	list_insert_back(pos, 10);
	list_insert_front(pos, 11);
	list_erase(list,pos);
	list_print(list);

}
int main()
{
	list_test1();
	return 0;
}